<div class="d-beijing-hei-f8"></div>
{if $get.shows ==1}
<div class="container d-gao-10 d-yincang">
</div>
{else}
	
	<div class="container  d-yincang">
	</div>
	
{/if}
{if dr_is_app('certify')}{php $arr=\Phpcmf\Service::C()->get_cache("app-certify");}{/if}
{php $userweixin=\Phpcmf\Service::M()->db->table('member_oauth')->where('uid', $uid)->get()->getRowArray();}
{php $shezhis = \Phpcmf\Service::M()->db->table('1_quan_shezhi')->where('dirname', 'tiezi')->get()->getRowArray();}
{php $shezhi = dr_string2array($shezhis['setting']);}
{if $get.youbian !='1'}
<div class="d-kuangjia d-yincang-pc navbar-fixed-top" style="background-color: #ffffff">
	<div class="d-row">
    	<div class="d-col-md-8">
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-bianhua-20 " style="background-color: #ffffff">
				<!--圈子头部-->
				<div class="row">
					<!--返回-->
					<div class="col-md-12 col-xs-12 d-div-zou  d-buhuanhang d-yincang-pc d-huading-100"> 
					    <a href="javascript:goBack();">
					        <img src="{HOME_THEME_PATH}quan/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
						<a href="{CLIENT_URL}index.php?ye=0">
						    <img class="pull-right" src="{HOME_THEME_PATH}quan/img/shouye2.png" height="20"/> 
						</a>
						<div class="pull-right d-zuoyou-20 d-quxian-0 d-buhuanhang">
							<div class="dropdown d-you-10">
								<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
									<i class="fa fa-eye-slash d-wenzi-14"></i>
								</a>
								<ul class="dropdown-menu pull-right" aria-labelledby="d-lahei">
									<li><a href="#" id="laheiuidan" class="laheiuidh5"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑作者</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
									<li><a href="#" id="laheitiezian" class="laheitiezih5"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽帖子</span></br><span class="d-wenzi-12 ">不再看这篇帖子</span></a></a></li>
								</ul>
							</div>
							{if $index['uid'] == $member.id}
								{if $shezhi['pages']['tiezi_bug'] == 1}
									<a id="d_bug_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-bugtiao d-you-10 d-zuo-10">
										{d_bug($id, 1)} Bug
									</a>
								{/if}
								{if $shezhi['pages']['tiezi_jindu'] == 1}
									<a id="d_jindu_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-jindutiao d-you-10 d-zuo-10">
										{d_jindu($id, 1)} 进度
									</a>
								{/if}
								<a onclick="javascript:d_shezhi();">
									<i class="fa fa-cog d-wenzi-14 d-zuo-10"></i>
								</a>
							{elseif $uid == $member.id}
								<a onclick="javascript:d_shezhi();">
									<i class="fa fa-cog d-wenzi-14 d-zuo-10"></i>
								</a>
						
							{/if}
						
							
						</div>
					</div>
				</div>
			</div>
			
		</div>
	</div>
</div>
{/if}
<div class="d-kuangjia">
	<div class="d-row">
		<div class="col-md-2 d-yincang d-piaofu-95" style="z-index: 1000;">
			 <span style="width: 10px; color: #ffffff;">.</span>
			<div class="d-piaofu-0-2">
				
				{template "index-zuobian-quanzi.html"}
			    
			</div>
			
		</div>
		
	    <div class="col-md-7">
			<!--div class="d-dingwei-you-60">
				<div class="d-dingwei-you-60-ding d-beijing-baise d-yuanjiao-10">
					
					{if $shenhe == 1}
					<div class="d-kuan-60 d-wenzi-juzhong d-quxian-0">
						<a  id="tag_zan_ding_{$id}" data-id="{$id}" class="tag_zan_ding">
							{dr_quan_tag_zan_ding($id, $zan)} 
						</a>
						<div class="d-shang-4 d-wenzi-12 d-zitiyanse-hui" {if $member} id="module_zan_ding_{$id}"{/if}>{intval($zan)}</div>
					</div>
					{/if}
					
					<div class="d-kuan-60 d-wenzi-juzhong d-quxian-0">
						<a  id="tag_favorite_ding_{$id}" data-id="{$id}" class="tag_favorite_ding">
							{dr_quan_tag_favorite_ding($id, $favorites)} 
						</a>
						
						<div class="d-shang-4 d-wenzi-12 d-zitiyanse-hui" {if $member} id="module_favorite_ding_{$id}"{/if}>
						    {intval($favorites)}
						</div>
					</div>
					
					<div class="d-kuan-60 d-wenzi-juzhong d-quxian-0">
						<a href="#ds-reset" >
							<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong">
								<img src="{HOME_THEME_PATH}quan/img/pinglun4.png" width="30" class="d-shang-4"/>
							</div>
						    <div class="d-shang-4 d-wenzi-12">评论</div>
						</a>
						<div class="d-shang-4 d-wenzi-12 d-zitiyanse-hui">{intval($comments)}</div>
					</div>
					
					<div class="d-kuan-60 d-wenzi-juzhong d-quxian-0">
						<a href="{$index.url}" >
							<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-wenzi-juzhong">
								<img src="{dr_thumb($index.thumb)}" width="40" class="d-shang-4 d-yuanjiao-50"/>
							</div>
						    <div class="d-shang-4 d-wenzi-12">进圈</div>
						</a>
					</div>
					{if dr_is_app('weixinkefu')}
					{php $weixinkefus = \Phpcmf\Service::M()->db->table('app_weixinkefu_shezhi')->where('dirname', 'weixinkefu')->get()->getRowArray();}
					{php $weixinkefu = dr_string2array($weixinkefus['setting']);}
						{if $weixinkefu['pages']['zongkg'] == '1'}
						<div class="d-kuan-60 d-wenzi-juzhong d-quxian-0 " >
							<a class="d-xiala-ewmtu" href="{dr_thumb($weixinkefu['pages']['kefuurl'])}" target="_blank">
								<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-wenzi-juzhong">
									<img src="{dr_thumb($weixinkefu['pages']['kefutu'])}" width="40" class="d-shang-4 d-yuanjiao-50"/>
								</div>
								<div class="d-shang-4 d-wenzi-12 d-zitiyanse-hongse">{$weixinkefu['pages']['kefumingcheng']}</div>
							</a>
						</div>
						<div class="d-xiala-ewm ">
							<img src="{dr_thumb($weixinkefu['pages']['kefuewm'])}" width="150" class="d-shang-4 d-yuanjiao-10"/>
						</div>
						<style>
							.d-xiala-ewmtu {
								
							}
							.d-xiala-ewm {
								margin-top: -100px;
								margin-left: 60px;
								display: none;/*鼠标未经过时城市列表隐藏*/
								position: absolute;
								border-radius: 10px;
								background-color: #f3f4f7;
								padding: 10px;
							}
							.d-xiala-ewmtu:hover .d-xiala-ewm {
								display: block;
								background-color: #ff5202;
								
							}
						</style>
						<script>
							$("a.d-xiala-ewmtu").hover(
							    function () {
							        $("div.d-xiala-ewm").attr("style", "display:block");
							    },
							);
							$(document).ready(function() {
							    $(".d-xiala-ewmtu").mouseenter(function() {
							        $(".d-xiala-ewm").show();
							    }).mouseleave(function() {
							        $(".d-xiala-ewm").hide();
							    });
							});
						</script>
						{/if}
					{/if}
				</div>
			</div-->
			<div class="d-yuanjiao-bianhua-10-10 d-kuan d-beijing-baise d-bianhua-20 ">
				{if $get.youbian !='1'}
				<div class="d-kuan d-gao-40 d-beijing-baise d-yincang-pc">
					
				</div>
				{/if}
				<div class="d-kuan d-gao-40 d-beijing-baise {if $get.shows ==1}{else}d-yincang{/if}">
					<div class="pull-left">
						
						<a href="javascript:goBack();">
						    <img src="{HOME_THEME_PATH}quan/img/fanhui-hui.svg" width="20" height="20" class=""/>
						</a>
						{if $get.shows ==1}
						<a class="" href="javascript:;">X</a>
						{/if}
						
					</div>
					<div class="pull-right d-quxian-0 d-buhuanhang">
						<div class="dropdown">
							<a class="d-zuo-10" id="d-lahei" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
								<i class="fa fa-eye-slash d-wenzi-16"></i>
							</a>
							<ul class="dropdown-menu pull-right" aria-labelledby="d-lahei">
								<li><a href="#" id="laheiuidan" class="laheiuid"><span class="d-jiacu"><i class="fa fa-eye-slash d-wenzi-16"></i> 拉黑作者</span></br><span class="d-wenzi-12 ">不再看TA的所有帖子和评论</span></a></li>
								<li><a href="#" id="laheitiezian" class="laheitiezi"><i class="fa fa-eye-slash d-wenzi-16"></i><span class="d-jiacu"> 屏蔽帖子</span></br><span class="d-wenzi-12 ">不再看这篇帖子</span></a></a></li>
							</ul>
						</div>
						{if $index['uid'] == $member.id}
							{if $shezhi['pages']['tiezi_bug'] == 1}
								<a id="d_bug_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-bugtiao d-you-10 d-zuo-10">
									{d_bug($id, 1)} Bug
								</a>
							{/if}
							{if $shezhi['pages']['tiezi_jindu'] == 1}
								<a id="d_jindu_{$id}" data-id="{$id}" data-quanid="{$index.id}" class="d-jindutiao d-you-10 d-zuo-10">
									{d_jindu($id, 1)} 进度
								</a>
							{/if}
							<a onclick="javascript:d_shezhi();">
								<i class="fa fa-cog d-wenzi-16 d-zuo-10"></i>
							</a>
						{elseif $uid == $member.id}
							<a onclick="javascript:d_shezhi();">
								<i class="fa fa-cog d-wenzi-16 d-zuo-10"></i>
							</a>

						{/if}

						
					</div>
				</div>
				<div class="d-shezhi d-xiala-shezhi" style="display: none;">
					<div class="d-container">
						<div class="d-row">
							<div class="d-col-md-8-juzhong d-quxian-0 d-a-baise">
								<!--分享图123-->
								<div class="">
										<nav aria-label="">
										  <ul class="pager">
											{if $member.is_admin}
												{if $zhiding == 1 }
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_zhiding" id="d_zhiding_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/zhiding-quxiao.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">取消圈顶</div>
													</a>
												</li>
												{else}
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_zhiding" id="d_zhiding_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/zhiding.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">设置圈顶</div>
													</a>
												</li>
												{/if}
												{if $tuijian == 1 }
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_shouyezhiding" id="d_shouyezhiding_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/zhiding-shouye-quxiao.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">取消推荐</div>
													</a>
												</li>
												{else}
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_shouyezhiding" id="d_shouyezhiding_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/zhiding-shouye.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">首页推荐</div>
													</a>
												</li>
												{/if}
												{if $shenhe == 1}
												    <li class="col-xs-3">
												    	<a  class="d-wenzi-14 d-zitiyanse-hui tag_shenhe" id="d_shenhe_{$id}" data-id="{$id}">
												    		<img src="{HOME_THEME_PATH}web/img/shenhe.png" width="40" height="40" class="">
												    		<div class="d-zitiyanse-hei">已经核对</div>
												    	</a>
												    </li>
												{else}
													<li class="col-xs-3">
														<a  class="d-wenzi-14 d-zitiyanse-hui tag_shenhe" id="d_shenhe_{$id}" data-id="{$id}">
															<img src="{HOME_THEME_PATH}web/img/shenhezhong.png" width="40" height="40" class="">
															<div class="d-zitiyanse-hei">核对帖子</div>
														</a>
													</li>
												{/if}
											{/if}
											
											
											{if $xzzt}
											<!--下载-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id']])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $jgtkg==1}
											<!--图集-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'tuji'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $spkg==1}
											<!--视频-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'shipin'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $mpsankaiguan==1}
											<!--mp3-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'mpsan'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $yuyinkaiguan==1}
											<!--语音-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'yuyin'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $tpkg==1}
											<!--投票-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'toupiao'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $ffzt==1}
											<!--付费-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'fufei'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $wendakaiguan==1}
											<!--问答-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'wenda'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $spspkg==1}
											<!--商品-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'shangpin'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $bisaikaiguan==1}
											<!--比赛-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'bisai'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $xzzt==1}
											<!--下载-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'xiazai'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $pkkaiguan==1}
											<!--PK-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'pk'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $hdzt==1}
											<!--活动-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'huodong'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $chuzukaiguan==1}
											<!--出租-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'chuzu'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $qiuzukaiguan==1}
											<!--求租-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'qiuzu'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $zpkg==1}
											<!--招聘-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'zhaopin'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{elseif $qzkg==1}
											<!--求职-->
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'qiuzhi'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{else}
											<li class="col-xs-3">
												<a href="{dr_member_url('quan/son/edit', ['id' => $id,'cid' => $index['id'],'leixing'=>'wenzhang'])}" class="d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/bianji.png" width="40" height="40" class="">
													<div class="d-zitiyanse-hei">编辑帖子</div>
												</a>
											</li>
											{/if}
										</ul>
										</nav>
										<nav aria-label="">
											<ul class="pager">
											{if $member.is_admin}
												{if $jinghua == 1 }
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_jinghua" id="d_jinghua_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/jinghua-quxiao.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">取消精华</div>
													</a>
												</li>
												{else}
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_jinghua" id="d_jinghua_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/jinghua.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">精华帖子</div>
													</a>
												</li>
												{/if}
												{if $qzzd == 1 }
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_qzzd" id="d_qzzd_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/quanzhi.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">取消全置</div>
													</a>
												</li>
												{else}
												<li class="col-xs-3">
													<a  class="d-wenzi-14 d-zitiyanse-hui tag_qzzd" id="d_qzzd_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/quanzhi01.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">设置全置</div>
													</a>
												</li>
												{/if}
												<li class="col-xs-3">
													<a href="{dr_member_url('quan/son/qianyi', ['id' => $id,'cid' => $index['id']])}" class="d-wenzi-14 d-zitiyanse-hui tag_qzzd" id="d_qzzd_{$id}" data-id="{$id}">
														<img src="{HOME_THEME_PATH}web/img/qianyi.png" width="40" height="40" class="">
														<div class="d-zitiyanse-hei">迁移</div>
													</a>
												</li>
												<form class="form-horizontal" action="" method="post" name="myforms" id="myforms">
													{dr_form_hidden()}
													<li class="col-xs-3">
														<div  class="d-wenzi-14 d-zitiyanse-hui" >
															<img src="{HOME_THEME_PATH}web/img/shanchu.png" width="40" height="40" class="">
															<div>
																<input type="hidden" class="checkboxes" name="ids[]" checked="checked" value="{$id}" />
																<span></span>
																<button type="button" onclick="dr_ajax_submit('{dr_member_url($uriprefix.'/dels')}', 'myforms', '0','{dr_url('home/index',)}')" class="btn btn-sm">删除</button>
															</div>
														</div>
													</li>
												</form>
											{/if}
											</ul>
										</nav>
								</div>
								<!--分享图-->
								<div class="col-xs-12 d-wenzi-juzhong d-quxian-0 d-shang-10">
								<div class="d-kuan d-neikuang-10" onclick="javascript:d_shezhi();"><i class="bi bi-x-circle-fill d-wenzi-18"></i></div>
								</div>
							</div>
						</div>
					</div>
				</div>
				<!--标题-->
				<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-26 d-xia-20">
					{if $jinghua == 1}<span class="d-wenzi-18 d-biaoqian-30 d-yuanjiao-5" >精华</span> {/if}
					{if $qiuzukaiguan == 1} <span style="color: #009c00;">[ 求租 ]</span> {/if}
					{if $chuzukaiguan == 1}<span style="color: #ff7171;">[ 出租 ]</span> {/if}
					<!--求职-->
					{if $zpkg == 1}
						<span style="color: #ff7171;">[ 招聘 ]</span>
					{/if}
					<!--求职-->
					{if $qzkg == 1}
					<span style="color: #9d3eb7;">[ 求职 ]</span>
					{/if}
					{$title}
				</div>
				<!--头部-->
				<!--圈子导航-->
				
				<div class="d-kuan d-buhuanhang  d-xia-20">
					<!--头部-->
					<div class="d-yuanjiao-10 d-quxian-0 d-box">
						<a href="{d_huiyuan_url($uid)}">
							<img src="{dr_avatar($uid)}" width="40" height="40" class="d-yuanjiao-50"/>
						</a>
						{if dr_is_app('certify')}
							{php $rzs = [];}
							{loop $arr $a}
								{php $rz = \Phpcmf\Service::M('data', 'certify')->info($a.code, $uid);}
								{if $a['value']['xianshi'] ==1 }
									{if $rz}
										{if $rz['status'] ==1}
											{php $rzs[] = 1;}
										{/if}
									{/if}
								{/if}
							{/loop}
							{if $rzs}
							<div class="d-box-xia">
								<img src="{HOME_THEME_PATH}web/img/V.png" width="15" height="15" class="d-yuanjiao-50"/>
							</div>
							{/if}
						{/if}
					</div>
					<div class="d-zuo-10 d-kuan">
						<div class=" d-buhuanhang">
							<div class=" d-quxian-0">
								<a class="d-jiacu" href="{d_huiyuan_url($uid)}">
								
								{php $user=dr_member_info($uid);}
									{if $user.name}
										{$user.name}
									{elseif $userweixin.nickname}
										{$userweixin.nickname}
									{else}
										{$user.username}
									{/if}
								</a>
							</div>
							{if $uid == $index['uid']}
								<div class="d-zuo-10">
									<div class="d-neikuang-1-5 d-wenzi-10 d-beijing-hei d-yuanjiao-5 d-zitiyanse-bai">圈 主</div>
								</div>
							{/if}
							{loop $user.group $tt}
								{if $tt.group_icon}<div class="d-zuo-10"><img src="{$tt.group_icon}" width="60" height="15" class="d-yuanjiao-50"/></div>{/if}
							{/loop}
							
						</div>
						<div class="d-zitiyanse-hui ">
							
							{php $quanguan = d_guanlizuming($index['id'],$uid);}
							
							{if $quanguan}
								{d_guanlizuming($index['id'],$uid)}
							{else} 
								{php $user=dr_member_info($uid);}
								{loop $user.group $tt}
									{$tt.group_name}
								{/loop}
							{/if}
							<i class="fa fa-eye d-zuo-10"></i><span class="d-zuo-10"> {dr_form_hits($id)}</span>
							<span class="d-wenzi-12 d-zitiyanse-hui" style="margin: 0px 0 0px 15px;">
								{php $ip=\Phpcmf\Service::L('ip')->address($inputip);}
								{if $ip == "未知地区"}
								<i class="fa fa-map-marker"></i> 中国
								{else}
								<i class="fa fa-map-marker"></i> {$ip;}
								{/if}
							</span>
						</div>
						{if dr_is_app('certify')}
						<div class="d-kuan d-quxian-0">
							{loop $arr $a}
							
								{php $rz = \Phpcmf\Service::M('data', 'certify')->info($a.code, $uid);}
								
								{if $a['value']['xianshi'] ==1 }
									{if $rz}
										{if $rz['status'] ==1}
											<img src="{dr_thumb($a['rztb'])}"  class="d-yuanjiao-50"/>
										{/if}
									{/if}
								{/if}
							{/loop}
						</div>
						{/if}
					</div>
					<div class="d-kuan-160">
						<div class="d-zitiyanse-hui d-zuo-10 d-div-you d-buhuanhang">
						    <a  id="guanzhu_list_{$uid}" data-id="{$uid}" class="guanzhu_list">
							    {dr_guanzhu_list($uid, $member.id)}
							</a>
						</div>
						
					</div>
				</div>
				{php $listwenzis = \Phpcmf\Service::M()->db->table('module_form')->where('module', 'quan')->where('table', 'son')->get()->getRowArray();}
				{php $listwenzi = dr_string2array($listwenzis['setting']);}
				{php $imgs = dr_get_content_img($neirong);}
				<div class="d-kuan d-zitiyanse-hui-96 d-wenzi-14 d-shang-2">
					发布：{dr_date($_inputtime, "Y-m-d (H:i:s) ")} 
					{if $updatetime}
					<span class="d-wenzi-14 d-zitiyanse-hui-ca" onclick="javascript:d_bianji_shijian();">
						编辑 <i class="fa fa-angle-right"></i>
						<span class="d-bianji-shijian" style="display:none;">：{dr_date($_updatetime, "Y-m-d (H:i:s) ")}</span>
					</span>
					{/if}
					{if $index.price > 0}
						{if $t.vip == 0}
							<span class="pull-right d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hongse">
								<i class="fa fa-unlock"></i> 免 费 
							</span>
						{/if}
					{/if}
					{if $index['uid'] == $member.id}
											
						<a onclick="javascript:d_shezhi();">
							<i class="fa fa-cog d-wenzi-14"></i> 修改
						</a>
					{elseif $uid == $member.id}
						<a onclick="javascript:d_shezhi();">
							<i class="fa fa-cog d-wenzi-14"></i> 修改
						</a>
					{elseif $member.is_admin}
						<a onclick="javascript:d_shezhi();">
							<i class="fa fa-cog d-wenzi-14"></i> 修改
						</a>
					{/if}
					<div class="d-clear"></div>
				</div>
				<div class="d-kuan d-img-100 d-wenzi-16 d-img d-henggun d-p-10" >
					<!--div class="d-kuan " >
						<div class="d-neishang-15">
						{d_huati_zu($neirong)}
						</div>
					</div-->
					<!--商品-->
					{if $spspkg == 1}
							{template "mform_show-shangpin.html"}
						<div class="d-gao-70"></div>
					{/if}
					<!--视频-->
					{if $spkg == 1}
						{template "mform_show-shipin.html"}
					{/if}
					<!--比赛-->
					{if $bisaikaiguan == 1}
						{template "mform_show-bisai.html"}
					{/if}
					<!--mp3-->
					{if $mpsankaiguan == 1}
						{template "mform_show-mp3.html"}
					{/if}
					<!--活动报名-->
					{if $hdzt == 1}
						{template "mform_show-hongdong.html"}
					{/if}
					<!--创业金-->
					{if dr_is_app('chuangyejin')}
						{if $fczt == 1}
							{template "mform_show-chuangyejin.html"}
						{/if}
					{/if}
					<div class="d-neirong">
						<!--求租-->
						{if $qiuzukaiguan == 1}
							{template "mform_show-qiuzu.html"}
						{/if}
						<!--出租-->
						{if $chuzukaiguan == 1}
							{template "mform_show-chuzu.html"}
						{/if}
					</div>
					<!--招聘-->
					{if $zpkg == 1}
						{template "mform_show-zhaopin.html"}
					{/if}
					<!--求职-->
					{if $qzkg == 1}
						{template "mform_show-qiuzhi.html"}
					{/if}
					<!--问答-->
					{if $wendakaiguan == 1}
					{php $shifouzhongbiao = \Phpcmf\Service::M()->db->table('1_'.MOD_DIR.'_wendazhongbiao')->where('leixing', 4)->where('cid', $id)->get()->getRowArray();}
					
						{template "mform_show-wenda.html"}
					{/if}
					{if $listwenzi['is_neirongtupian'] == 1}
						<div id="tuzhanshi" class="d-neirong">
							
							<!--PK-->
							{if $pkkaiguan == 1}
								{template "mform_show-pk.html"}
							{/if}
							{if $shenhe == 0}
							    <div class="d-wenzi-juzhong d-hanggao-30 d-beijing-hongse-1 d-yuanjiao-10">内容审核中...</div>
							    <br>
								{if $member.is_admin}
									{dr_get_content_quimgs($neirong)}
										{if !$t.thumb}
											{template "index-tupian-list.html"}
										{/if}
								{/if}

							{else}
								{if $caijizhanshi == '1'}
									{template "mform_show-caiji.html"}
								{else}
									{dr_get_content_quimgs($neirong)}
									{if !$t.thumb}
										{template "index-tupian-list.html"}
									{/if}
								{/if}
							{/if}
							
						</div>
					{else}
					    <div id="tuzhanshi" class="d-neirong">
							
							<!--PK-->
							{if $pkkaiguan == 1}
								{template "mform_show-pk.html"}
							{/if}
					    	{if $shenhe == 0}
					    	    <div class="d-wenzi-juzhong d-hanggao-30 d-beijing-hongse-1 d-yuanjiao-10">内容审核中...</div>
					    	    <br>
					    	    	{if $member.is_admin}
					    	    		{dr_get_content_quimgs($neirong)}
					    	    			{if !$t.thumb}
					    	    				{template "index-tupian-list.html"}
					    	    			{/if}
					    	    	{/if}
					    	{else}
								{if $caijizhanshi == '1'}
									{template "mform_show-caiji.html"}
								{else}
									{d_huati($neirong)}
								{/if}
					    	{/if}
					    </div>
					{/if}
					<!--付费阅读-->
					{if $ffzt == 1}
						{if $fufeixianzhi == 1}
							<!--统一免费-->
							{template "mform_show-yuedu-mianfei.html"}
						{elseif $fufeixianzhi == 2}
							<!--会员免费-->
							{template "mform_show-yuedu-huiyuan.html"}
						{elseif $fufeixianzhi == 3}
							<!--统一付费-->
							{template "mform_show-yuedu.html"}
						{elseif $fufeixianzhi == 4}
							<!--积分-->
							{template "mform_show-yuedu-jifen.html"}
						{elseif $fufeixianzhi == 5}
							<!--点赞-->
							{template "mform_show-yuedu-dianzan.html"}
						{elseif $fufeixianzhi == 6}
							<!--评论-->
							{template "mform_show-yuedu-pinglun.html"}
						{/if}
						
					{/if}
					<!--投票-->
					{if $tpkg == 1}
						{template "mform_show-toupiao.html"}
					{/if}
					<!--进度-->
					{if $shezhi['pages']['tiezi_jindu'] == 1}
						{if $jindu == 1}
						{template "mform_show-jindu.html"}
						{/if}
					{/if}
					<!--九格图-->
					{if $jgtkg == 1}
						{if $yuedumoshi == 1}
							{template "mform_show-jiugetu-mianfei.html"}
						{elseif $yuedumoshi == 2}
							{template "mform_show-jiugetu-fufei.html"}
						{elseif $yuedumoshi == 3}
							{template "mform_show-jiugetu-jifen.html"}
						{/if}
					{/if}
					<!--bug-->
					{if $shezhi['pages']['tiezi_bug'] == 1}
						{if $bug == 1}
						{template "mform_show-bug.html"}
						{/if}
					{/if}
					<!--下载-->
					{if $xzzt == 1}
					    {if $xzxz == 1}
							<!--统一免费-->
							{template "mform_show-xiazai-mianfei.html"}
						{elseif $xzxz == 2}
							<!--会员免费-->
							{template "mform_show-xiazai-huiyuanmianfei.html"}
						{elseif $xzxz == 3}
							<!--统一付费-->
							{template "mform_show-xiazai.html"}
						{elseif $xzxz == 4}
							<!--积分-->
							{template "mform_show-xiazai-jifen.html"}
						{elseif $xzxz == 5}
							<!--点赞-->
							{template "mform_show-xiazai-dianzan.html"}
						{elseif $xzxz == 6}
							<!--评论-->
							{template "mform_show-xiazai-pinglun.html"}
						{/if}
					{/if}
					
					{template "mform_show-mianze.html"}
					<div class="d-gao-20 d-kuan"></div>
					<!--分享图-->
					<div {if $get.youbian == '1'}{else}class="d-yincang"{/if}>
						<div class="row ">
							<div class="col-xs-12 d-wenzi-juzhong d-quxian-0">
								{php $leixingdata = '?&leixing=2&quan='.$index['id'].'&id='.$id;}
								<a class="{if $get.youbian == '1'}{else}d-yincang{/if} my_poster_button" data-id="{$id}" data-mid="{MOD_DIR}"><img src="{dr_qrcode($my_web_url.$leixingdata)}" width="100" height="100" class=""></a>
								<!--div class="d-wenzi-14 d-xia-10">手机扫描</div-->
							</div>
							<nav aria-label="">
							  <ul class="pager">
								<li>
								  	<!--a  class="d-wenzi-14 my_poster_button d-zitiyanse-hui" data-id="{$id}" data-mid="{MOD_DIR}">
								  		<img src="{HOME_THEME_PATH}web/img/haibao.png" width="40" height="40" class="">
								  		<div>点赞</div>
								  	</a-->
									<a id="tag_zan_dingz_{$id}" data-id="{$id}" class="tag_zan_ding d-wenzi-14 my_poster_button d-zitiyanse-hui">
										{dr_quan_tag_zan_dingz($id, $zan)}
									</a>
								</li>
							    <li>
									<a  class="d-wenzi-14 my_poster_button d-zitiyanse-hui" data-id="{$id}" data-mid="{MOD_DIR}">
										<img src="{HOME_THEME_PATH}web/img/haibao.png" width="40" height="40" class="">
										<div>海报</div>
									</a>
								</li>
							    <!--li>
									<a onclick="javascript:d_dashang();" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
										<img src="{HOME_THEME_PATH}web/img/dashang.png" width="40" height="40" class="">
										<div>打赏</div>
									</a>
								</li-->
								<!--li>
									<a onclick="shareTo('sina')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
										<img src="{HOME_THEME_PATH}web/img/weibo.png" width="40" height="40" class="">
										<div>微博</div>
									</a>
								</li-->
								<!--li>
									<a onclick="shareTo('qq')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
										<img src="{HOME_THEME_PATH}web/img/qq.png" width="40" height="40" class="">
										<div>QQ</div>
									</a>
								</li>
								<li>
									<a onclick="shareTo('qzone')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
										<img src="{HOME_THEME_PATH}web/img/qqkong.png" width="40" height="40" class="">
										<div>QQ空间</div>
									</a>
								</li-->
								<li>
									<a data-id="{$id}" data-mid="{MOD_DIR}" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui my_poster_button" >
										<img src="{HOME_THEME_PATH}web/img/weixin.png" width="40" height="40" class="">
										<div>微信</div>
									</a>
								</li>
							  </ul>
							</nav>
						</div>
					</div>
					<div class="">
						<div class="row ">
							<nav aria-label="">
							    <ul class="pager">
								  {table table=1_quan_form_son_zan cid=$id page=1 pagesize=10 return=tt}
								  <li>
									  <img src="{dr_avatar($tt.uid)}" width="25" height="25" class="d-touxiang-10" id="gerenzan_{$t.id}_{$tt.uid}" data-id="{$tt.uid}"/>
								  </li>
								  {/table}
								</ul>
						</div>
					</div>
					<!--打赏-->
					{template "mform_show-dashang-uid.html"}
					<!--分享图-->
					{template "mform_show-fenxiangtu.html"}
					<div class="d-kuan">
						<div class="d-hanggao-24 d-zitiyanse-hui d-quxian-0 pull-left">
							{php $erjibiao = '1_'.MOD_DIR.'_fenlei';}
							{php $guishudaohang = \Phpcmf\Service::M()->db->table($erjibiao)->where('id', $tid)->get()->getRowArray();}
							<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index['id']])}">
							<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
								<i class="bi bi-record-circle"></i> {$index['title']}</span>
							</a>
							{if $guishudaohang['yijiid'] == 0}
								<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index.id,'qid' => $tid])}">
								<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
									<i class="fa fa-bars"></i> {$guishudaohang['name']}</span>
								</a>
							{else}
								<a href="{dr_url(MOD_DIR.'/show/index',['id' => $index.id,'qid' => $guishudaohang['yijiid'],'erji' => $tid])}">
								<span class="d-wenzi-12 d-neikuang-2-5 d-bian-1 d-yuanjiao-50 d-zitiyanse-hui">
									<i class="fa fa-bars"></i> {$guishudaohang['name']}</span>
								</a>
							{/if}
							
						</div>
						<div class="d-kuan-100 d-quxian-0 pull-right d-wenzi-zuobian"> 
							<a class=" d-wenzi-12" href="javascript:dr_iframe('网址举报', '/index.php?s=jubao&c=post&m=index&id={$id}&moxing=quan','90%', '90%');">
								<img src="{HOME_THEME_PATH}quan/img/jubao.png" width="30" height="30" class="">
								举报
							</a>
						</div>
					</div>
					
					<div class="d-clear"></div>
					<!--div class="d-gao-70 d-kuan d-yincang-pc"></div-->
				</div>
				
				
				{if $get.youbian == '1'}
				{else}
					{if $shezhi['pages']['tiezi_shangxia'] == 0}
					<div class="d-clear"></div>
					<div class="d-kuan d-gao-70 ">
						<div class=" d-kuan-baifen-50 d-quxian-0">
							{if $prev_page.url}
							<a class="d-kuai" href="{$prev_page.url}">
								<div class="d-neikuang-15 d-kuan-b90 d-beijing-hui d-yuanjiao-10 d-gao-70 d-div-zou">
									<i class="fa fa-reply"></i> 上一帖 
									<div class="d-chaochu">
										{if $prev_page.title}
											{$prev_page.title}
										{else}
											{dr_strcut(dr_clearhtml($prev_page.neirong), 12)}
										{/if}
									</div>
								</div>
							</a>
							{else}
							<a class="d-kuai">
								<div class="d-neikuang-15 d-kuan-b90 d-yuanjiao-10 d-gao-70 d-div-zou">
									没有了
								</div>
							</a>
							{/if}
						</div>
						
						<div class=" d-kuan-baifen-50">
							{if $next_page.url}
								<a class="d-kuai" href="{$next_page.url}">
									<div class="d-neikuang-15 d-kuan-b90-you d-kuan-b90 d-gao-70 d-yuanjiao-10 d-div-you">
										下一帖 <i class="fa fa-share"></i>
										<div class="d-chaochu">
											{if $next_page.title}
												{$next_page.title}
											{else}
												{dr_strcut(dr_clearhtml($next_page.neirong), 12)}
											{/if}
										</div>
									</div>
								</a>
							{else}
								<a class="d-kuai">
									<div class="d-neikuang-15 d-kuan-b90-you d-kuan-b90 d-gao-70 d-yuanjiao-10 d-div-you">
										没有了
									</div>
								</a>
							{/if}
							
						</div>
					</div>
					<style>
						.d-kuan-b90 {
							width: 95%;
							background-color: #f7f7f7;
						}
						.d-kuan-b90-you {
							width: 95%;
							background-color: #f7f7f7;
						}
					</style>
					{/if}
				{/if}
				
				<!---->
				<!--div class="d-beijing-hei-f0 d-neikuang-10 d-yuanjiao-10">
					<a href="{$index.url}" class="d-kuan d-buhuanhang">
					<div class="d-kuan d-buhuanhang pull-left">
						<div class=" d-yuanjiao-10">
							<img class="d-yuanjiao-20" src="{dr_thumb($index.thumb)}" height="60"/>
						</div>
						<div class="d-zuo-10">
							<div class="d-jiacu d-wenzi-16 d-kuan">{dr_keyword_highlight($index.title, $keyword)}</div>
							<div class="d-wenzi-14">
								<span>
									帖子
									{count action=table table=1_quan_form_son cid=$index.id return=tiezi}
									{$tiezi_count}
								</span>
								<span class="d-zuo-20">
									用户: {$index.joins}
								</span>
							</div>
						</div>
					</div>
					<div class="d-kuan-100 d-shang-15  d-you-10 pull-right">
						<div class="d-neikuang-5-10 d-beijing-hei d-yuanjiao-20 pull-right d-zitiyanse-bai"> + 进入</div>
					</div>
					</a>
					<div class="d-clear"></div>
				</div-->
				
			</div>
			{if dr_is_app('weixinkefu')}
			{php $kefus = \Phpcmf\Service::M()->db->table('app_weixinkefu_shezhi')->where('dirname', 'weixinkefu')->get()->getRowArray();}
			{php $kefu = dr_string2array($kefus['setting']);}
				{if $kefu['pages']['zongkg'] == 1}
				<div class="d-kuan d-beijing-baise d-yuanjiao-10 d-bianhua-20 d-yincang-pc">
					<a class="d-kuan d-buhuanhang d-beijing-huise-kefu d-yuanjiao-10 d-bianhua-20" href="{dr_thumb($weixinkefu['pages']['kefuurl'])}" target="_blank">
						<div class="d-kuan-60 d-kuan-baifen-50 d-buhuanhang d-hanggao-50">
							<img src="{dr_thumb($weixinkefu['pages']['kefutu'])}" width="50" class="d-yuanjiao-50"/>
						</div>
						<div class="d-div-you d-kuan-baifen-50 d-hanggao-50 d-wenzi-youbian">
							<i class="fa fa-comments"></i> 联系客服
						</div>
						<div class="d-clear"></div>
					</a>
					
				</div>
				<style>
					.d-beijing-huise-kefu{
						
						background-color: #f7f7f7;
					}
				</style>
				{/if}
			{/if}
			{if dr_is_app('dashangma')}
			{php $dashangmas = \Phpcmf\Service::M()->db->table('app_dashang_shezhi')->where('dirname', 'dashangma')->get()->getRowArray();}
			{php $dashangma = dr_string2array($dashangmas['setting']);}
			{if $dashangma['pages']['zongkg'] == '1'}
				<div class="d-kuan d-waigao-20 d-beijing-baise d-yuanjiao-10">
					<div class="d-kuan d-wenzi-juzhong d-shangnei-20 d-jiacu d-wenzi-20">站长打赏</div>
					{if $dashangma['pages']['wxkg'] == '1' && $dashangma['pages']['zfbkg'] == '1'}
					<div class="d-kuan d-shang-20 d-xia-20">
						<div class="d-kuan-baifen-50 d-wenzi-juzhong" >
							<img src="{dr_thumb($dashangma['pages']['weixin'])}" width="100" height="100" class="d-yuanjiao-10">
							<div class="d-jiacu d-shang-10">{$dashangma['pages']['weixinmingcheng']}</div>
						</div>
						<div class="d-kuan-baifen-50 d-wenzi-juzhong">
							<img src="{dr_thumb($dashangma['pages']['zhifubao'])}" width="100" height="100" class="d-yuanjiao-10">
							<div class="d-jiacu d-shang-10">{$dashangma['pages']['zfbmc']}</div>
						</div>
					</div>
					
					{elseif $dashangma['pages']['wxkg'] == '1'}
					<div class="d-kuan d-shang-20 d-xia-20">
						<div class="d-kuan d-wenzi-juzhong" >
							<img src="{dr_thumb($dashangma['pages']['weixin'])}" width="100" height="100" class="d-yuanjiao-10">
							<div class="d-jiacu">{$dashangma['pages']['weixinmingcheng']}</div>
						</div>
					</div>
					{elseif $dashangma['pages']['zfbkg'] == '1'}
					<div class="d-kuan d-shang-20 d-xia-20">
						<div class="d-kuan d-wenzi-juzhong">
							<img src="{dr_thumb($dashangma['pages']['zhifubao'])}" width="100" height="100" class="">
							<div class="d-jiacu d-shang-10">{$dashangma['pages']['zfbmc']}</div>
						</div>
					</div>
					{/if}
					
					
					
					<div class="d-clear"></div>
					<div class="d-neikuang-20 ">{$dashangma['pages']['shuoming']}</div>
					
					<div class="d-clear"></div>
					
				</div>
				
				<div class="d-kuan" style="height: 90px;"></div>
			{/if}
			{/if}
			<!--相关-->
			{if $get.youbian == '1'}
			{else}
				{if $shezhi['pages']['tiezi_xiangguan'] == 0}
				{template "mform_show-xiangguan.html"}
				<div class="d-gao-70 d-kuan d-yincang-pc"></div>
				{/if}
			{/if}
			<!--比赛-->
			{if $bisaikaiguan == 1}
				<div id="content_list">
					{template "mform_show-bisai-list-daan.html"}
				</div>
				<div class="d-gao-70"></div>
			{/if}
			<!--问答-->
			{if $wendakaiguan == 1}
				<div id="content_list">
					{template "mform_show-wenda-list-daan.html"}
				</div>
				<div class="d-gao-70"></div>
			{/if}
			<div class="d-gao-70"></div>
			<!--尾部评论-->
			{if $shenhe == 1}
			{if $get.youbian == '1'}
			<div class="d-kuan d-quxian-0" >
			<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
				<div class="d-gao-40 d-beijing-baise d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
			</a>
				{dr_mform_comment('quan','son', $id, $index.fengge)}
			</div>
			{else}
			<div class="d-yuanjiao-bianhua-10-10-xia d-kuan d-beijing-baise d-neikuang-1 d-yincang-pc d-dibu">
				<!--div class="col-xs-3">
					<div class="d-kuan d-wenzi-juzhong d-quxian-0">
						<a onclick="javascript:dr_m_pinglun();">
							<div class=" d-kuan-40 d-yuanjiao-50  d-kuan-juzhong">
								<img src="{HOME_THEME_PATH}quan/img/pinglun.png" width="30" class="d-shang-4 d-kuan-juzhong"/>
							</div>
							<div class="d-shang-2 d-wenzi-12">
								评论 {intval($comments)}
								
							</div>
						</a>
					</div>
				</div>
				<div class="col-xs-3">
					
					<div class="d-kuan d-wenzi-juzhong d-quxian-0">
						<a  id="tag_zan_{$id}" data-id="{$id}" class="tag_zan_dibu ">
							{dr_quan_tag_zan_dibu($id,$zan)} 
						</a>
						
						点赞 <span class="d-shang-4 d-wenzi-12 d-zitiyanse-hui" {if $member}id="module_zan_{$id}{/if}">
						 {intval($zan)}
						</span>
					</div>
					
				</div>
				<div class="col-xs-3">
					<div class="d-kuan d-wenzi-juzhong d-quxian-0">
						<a  id="tag_favorite_{$id}" data-id="{$id}" class="tag_favorite_dibu ">
							{dr_quan_tag_favorite_dibu($id,$favorites)} 
							
						</a>
						收藏 <span class="d-shang-4 d-wenzi-12 d-zitiyanse-hui" {if $member}id="module_favorite_{$id}"{/if}>
						 {intval($favorites)}
						</span>
					</div>
				</div>
				
				<div class="col-xs-3">
					<div class="d-kuan d-wenzi-juzhong d-quxian-0" onclick="javascript:d_fenxiang();">
						<div class=" d-kuan-40 d-yuanjiao-50 d-kuan-juzhong">
							<img src="{HOME_THEME_PATH}quan/img/fenxiang2.png" width="30" class="d-shang-4 d-kuan-juzhong"/>
						</div>
						<div class="d-shang-2 d-wenzi-12">分享</div>
						
						
					</div>
				</div-->
				 {/if}
				<div class="d-fenxiang d-xiala-fenxiang" style="display: none;">
					<div class="d-container">
						<div class="d-row">
							<div class="d-col-md-8-juzhong d-quxian-0 d-a-baise">
								<!--分享图123-->
								<div class="">
										<nav aria-label="">
										  <ul class="pager">
										    <li>
												<a  class="d-wenzi-14 my_poster_button d-zitiyanse-hui" data-id="{$id}" data-mid="{MOD_DIR}">
													<img src="{HOME_THEME_PATH}web/img/haibao.png" width="40" height="40" class="">
													<div>海报</div>
												</a>
											</li>
										    <!--li>
												<a onclick="javascript:d_dashang();" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/dashang.png" width="40" height="40" class="">
													<div>打赏</div>
												</a>
											</li-->
											<!--li>
												<a onclick="shareTo('sina')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/weibo.png" width="40" height="40" class="">
													<div>微博</div>
												</a>
											</li-->
											<!--li>
												<a onclick="shareTo('qq')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/qq.png" width="40" height="40" class="">
													<div>QQ</div>
												</a>
											</li>
											<li>
												<a onclick="shareTo('qzone')" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/qqkong.png" width="40" height="40" class="">
													<div>QQ空间</div>
												</a>
											</li-->
											<li>
												<a onclick="javascript:d_weixin();" class="d-zuo-10 d-wenzi-14  d-zitiyanse-hui" >
													<img src="{HOME_THEME_PATH}web/img/weixin.png" width="40" height="40" class="">
													<div>微信</div>
												</a>
											</li>
										  </ul>
										</nav>
								</div>
								<!--分享图-->
								<div class="col-xs-12 d-wenzi-juzhong d-quxian-0 d-shang-10">
								<div class="d-kuan d-neikuang-10" onclick="javascript:d_fenxiang();"><i class="bi bi-x-circle-fill d-wenzi-18"></i></div>
								</div>
							</div>
						</div>
					</div>
				</div>
				
				 <script>
						 // 模块点赞
						 $(".tag_zan_ding").click(function(){
							 var id = $(this).data("id");
							 $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=zan&id="+id, function(data){
								 dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
								 
								 if (data.msg.value=="点赞成功") {
									$('#module_zan_'+id).html(data.data);
									$('#module_zan_ding_'+id).html(data.data);
									$('#tag_zan_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan2.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">已赞</div>'
									);
									$('#tag_zan_dingz_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan33.png" width="40" class=""/><div>点赞</div>'
									);
									
									$('#tag_zan_'+id).html('<div class="d-yuanjiao-50 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan2.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div>'
									);
									 
								}else{
									$('#module_zan_'+id).html(data.data);
									$('#module_zan_ding_'+id).html(data.data);
									$('#tag_zan_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">点赞</div>');
									$('#tag_zan_dingz_'+id).html('<img src="{HOME_THEME_PATH}quan/img/zan22.png" width="40" class=""/><div>点赞</div>');
									$('#tag_zan_'+id).html('<div class="d-yuanjiao-50 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div>');
									
								}
								
							 }, 'json');
						 });
				        
						// 模块点赞
						$(".tag_zan").click(function(){
						    var id = $(this).data("id");
						    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=zan&id="+id, function(data){
						        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
						        if (data.msg.value=="点赞成功") {
						        	$('#module_zan_'+id).html(data.data);
									$('#module_zan_ding_'+id).html(data.data);
						        	 $('#tag_zan_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan2.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">已赞</div>'
						        	);
						        	
						        	$('#tag_zan_'+id).html('<div class=" d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan2.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div><div class="d-shang-4 d-wenzi-12">已赞</div>'
						        	);
						        }else{
						        	$('#module_zan_'+id).html(data.data);
									$('#module_zan_ding_'+id).html(data.data);
						        	$('#tag_zan_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">点赞</div>');
						        	$('#tag_zan_'+id).html('<div class=" d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/zan.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div><div class="d-shang-4 d-wenzi-12">点赞</div>');
						        	
						        }
						    }, 'json');
						});
						// 模块收藏
						$(".tag_favorite").click(function(){
						    var id = $(this).data("id");
						    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=quan&id="+id, function(data){
						        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
						        if (data.msg.value=="收藏成功") {
									$('#module_favorite_'+id).html(data.data);
						            $('#tag_favorite_'+id).html('<div class=" d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang5.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div><div class="d-shang-4 d-wenzi-12">已藏</div>'
									);
									$('#module_favorite_ding_'+id).html(data.data);
									 $('#tag_favorite_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang5.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">已藏</div>'
									);
						            
								}else{
									$('#module_favorite_'+id).html(data.data);
						            $('#tag_favorite_'+id).html('<div class="d-yuanjiao-50 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div><div class="d-shang-4 d-wenzi-12">收藏</div>');
						            $('#module_favorite_ding_'+id).html(data.data);
						            $('#tag_favorite_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">收藏</div>');
						            
								}
						    }, 'json');
						});
						// 模块收藏顶部
						$(".tag_favorite_ding").click(function(){
						    var id = $(this).data("id");
						    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=quan&id="+id, function(data){
						        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
						        if (data.msg.value=="收藏成功") {
						        	$('#module_favorite_'+id).html(data.data);
						        	$('#module_favorite_ding_'+id).html(data.data);
						        	 $('#tag_favorite_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4-0.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">已藏</div>'
						        	);
						        	
						        	$('#tag_favorite_'+id).html('<div class=" d-yuanjiao-50 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4-0.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div>'
						        	);
						        }else{
						        	$('#module_favorite_'+id).html(data.data);
						        	$('#module_favorite_ding_'+id).html(data.data);
						        	$('#tag_favorite_ding_'+id).html('<div class="d-zuo-10 d-shang-10 d-gao-40 d-kuan-40 d-yuanjiao-50 d-beijing-hei-f0 d-wenzi-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4.png" width="30" class="d-shang-4"/></div><div class="d-shang-4 d-wenzi-12">收藏</div>');
						        	$('#tag_favorite_'+id).html('<div class="  d-yuanjiao-50 d-kuan-juzhong"><img src="{HOME_THEME_PATH}quan/img/shoucang4.png" width="30" class="d-shang-4 d-kuan-juzhong"/></div>');
						        	
						        }
						    }, 'json');
						});
						
						
				</script>
				<div class="d-clear"></div>
			</div>
			{/if}
			
			<!--// 评论ajax框代码 id表示当前模块表单的内容id号-->
			<!--$index.fengge == 1是左边-->
			{if $index.fengge == 1}
				
				
				<div class="d-quxian-0" >
				<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
					<div class="d-gao-40 d-beijing-baise d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
				</a>
					{dr_mform_comment('quan','son', $id, $get.youbian)}
				</div>
				{else}
				<div class="d-pinglun-tanchu d-quxian-0" >
				<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
					<div class="d-gao-40 d-beijing-baise d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
				</a>
					{dr_mform_comment('quan','son', $id, $index.fengge)}
				</div>
				
			{/if}
			{if $index.fengge == 2}
				{if $get.youbian == '1'}
				
				{else}
				<div class="d-yincang-pc-00000">
					<div class="d-pinglun-tanchu d-quxian-0" >
					<a class="kaiguan" onclick="javascript:dr_m_pinglun2();">
						<div class="d-gao-40 d-beijing-e3 d-kuan d-wenzi-juzhong d-huading-0 d-hanggao-40"><i class="bi bi-x-circle-fill"></i> 关闭</div>
					</a>
					{dr_mform_comment('quan','son', $id, $index.fengge)}
					</div>
				</div>
				{/if}
			{/if}
		</div>
		
		{if $get.youbian != '1'}
		<div class="col-md-3 d-yincang {if $get.shows ==1}{else}d-huading-80{/if} ">
			
			{if $index.fengge == 1}
			
				<div class="d-yuanjiao-10 d-kuan d-beijing-e3 d-bianhua-10">
					<div class="d-yuanjiao-20 d-kuan d-wenzi-16 ">
						<div class="d-yuanjiao-10 d-kuan d-kuan-juzhong d-wenzi-juzhong d-quxian-0">
							<a href="{d_huiyuan_url($uid)}">
								<img src="{dr_avatar($uid)}" width="50" height="50" class="d-yuanjiao-50 "/>
								<div class="d-shang-10 d-jiacu ">
									{php $user=dr_member_info($uid);}
									{if $user.name}
										{$user.name}
									{elseif $userweixin.nickname}
										{$userweixin.nickname}
									{else}
										{$user.username}
									{/if}
								</div>
								
							</a>
							
							
							{if dr_is_app('certify')}
							<div class="d-kuan d-quxian-0">
								{loop $arr $a}
								
									{php $rz = \Phpcmf\Service::M('data', 'certify')->info($a.code, $uid);}
									
									{if $a['value']['xianshi'] ==1 }
										{if $rz}
											{if $rz['status'] ==1}
												<img src="{dr_thumb($a['rztb'])}"  class="d-yuanjiao-50"/>
											{/if}
										{/if}
									{/if}
								{/loop}
							</div>
							{/if}
						</div>
					</div>
					<div class="d-kuan">
						<div class="d-shang-10 d-wenzi-14 d-zitiyanse-hui d-wenzi-juzhong">
								{php $user=dr_member_info($uid);}
								{loop $user.group $tt}
									{$tt.group_name}
								{/loop}
							</div>
						{php $quanhuiyuanzu = \Phpcmf\Service::M()->db->table('1_quan_form_yonghuzu')->where('leixing', 0)->where('kaiguan', 1)->where('cid', $index['id'])->countAllResults();}
						
						<div class="row  d-wenzi-juzhong d-shang-20 d-zitiyanse-hui">
							圈子：<a href="{$index['url']}" class="d-zitiyanse-hui">{$index['title']} </a> 
							{if $quanhuiyuanzu >0}
							{table table=1_quan_form_group quanid=$index['id'] uid=$uid page=1 pagesize=2 return=tt}
								{php $yonghuzuquanid = \Phpcmf\Service::M()->db->table('1_quan_form_yonghuzu')->where('id', $tt.gid)->get()->getRowArray();}
							
								<a href="{$index['url']}">( {$yonghuzuquanid['title']} )</a>
							
							{/table}
							{/if}
							
						</div>
					</div>
					<div class="d-kuan">
						<div class="row  d-wenzi-juzhong d-shang-20">
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">{count action=table table=member_friend uid=$uid return=guanzhu}{$guanzhu_count}</div>
								<div>关注</div>
							</div>
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">
									{count action=table table=1_quan uid=$uid return=quanzi}
									{$quanzi_count}
								</div>
								<div>圈子</div>
							</div>
							<div class="col-md-3">
								{count action=table table=1_quan_form_son uid=$uid return=quantie}
								<div class="d-jiacu d-wenzi-16">{$quantie_count}</div>
								<div>动态</div>
							</div>
							<div class="col-md-3">
								<div class="d-jiacu d-wenzi-16">{count action=table table=member_friend touid=$uid}</div>
								<div>粉丝</div>
							</div>
							
						</div>
					</div>
				</div>
				<div class="d-yuanjiao-10 d-kuan d-beijing-e3 d-bianhua-10 d-shang-20">
					<div class="d-yuanjiao-20 d-kuan d-jiacu d-wenzi-16">
						{php $user=dr_member_info($uid);}
						{if $user.name}
							{$user.name}
						{elseif $userweixin.nickname}
							{$userweixin.nickname}
						{else}
							{$user.username}
						{/if} 的帖子
					</div>
					<div class="d-kuan">
						{php $i=1;}
						{mform module=quan form=son order=inputtime uid=$uid num=10 return=tt}
							<div class="d-hanggao-40 d-wenzi-16 d-quxian-0 d-chaochu">
								<span class="d-jiacu d-you-10 {if $i<4}d-zitiyanse-hongse{/if}">{$i}</span>
								<a href="/index.php?s=quan&c=son&id={$tt.id}"> 
								{if $tt.title}
								{$tt.title}
								{else}
								{dr_strcut(dr_clearhtml($tt.neirong), 20)}
								{/if}
								
								</a>
							</div>
							{php $i++;}
						{/mform}
					</div>
				</div>
			{else}
				<div class="d-yuanjiao-10 d-kuan d-beijing-hei-ef d-shangnei-20 d-xiala-kuang" id="b1">
					{dr_mform_comment_2('quan','son', $id, $index.fengge)}
				</div>
			{/if}
			
			
		</div>
		<div class="d-clear"></div>
		{/if}
	</div>
</div>
{if $jiangli['jifen'] || $jiangli['jingyan']}
	{if $jiangli['cishu']==1}
	{else}
	<div class="d-jiangli-tanchu" style="display: none" onclick="d_m_jiangli2()">
		<div class="d-jiangli-kuan ">
			<div class="d-jiangli-beijing">
				<div class="d-jiangli-gao"></div>
				<div class="d-jiangli-zhi" id="d-jiangli-zhi">
					{if $jiangli['jifen']} 
						+{$jiangli['jifen']}<span class="d-wenzi-12"> {SITE_SCORE}</span>
					{else}
						 +{$jiangli['jingyan']}<span class="d-wenzi-12"> {SITE_EXPERIENCE}</span>
					 {/if}
				</div>
				<div class="d-jiangli-chenggong"> 阅读获得 <span class="d-zitiyanse-hongse" id="d-jiangli-zhi2">+{$jiangli['jingyan']}</span> <span id="d-qiandao-jingyan"></span>{SITE_EXPERIENCE} </div>
				{if $jiangli['yue']}<div class="d-jiangli-chenggong"> 阅读获得 <span class="d-zitiyanse-hongse" id="d-jiangli-tian" >+{$jiangli['yue']}</span> {SITE_SCORE}</div>{/if}
			</div>
		</div>
	</div>
	{/if}
{/if}

<!--script src="{HOME_THEME_PATH}web/js/lazyload.js"></script-->
<script>
	/*jQuery(document).ready(
	        function($){
	        $("img").lazyload({
	             placeholder : "{HOME_THEME_PATH}web/img/lazyload.gif", //加载图片前的占位图片
	             effect      : "fadeIn", //加载图片使用的效果(淡入)
	             threshold : 1000
	             
	        });
	    });*/
	$(function(){
		//给每一串代码元素增加复制代码节点
		let preList = $(".d-neirong pre");
		// for (let pre of preList) {
		//     //给每个代码块增加上“复制代码”按钮
		//     let btn = $("<span class=\"btn-pre-copy\" onclick='preCopy(this)'>复制代码</span>");
		//     btn.prependTo(pre);
		// }
		preList.each(function(){
			let btn = $("<span class=\"btn-pre-copy\" onclick='preCopy(this)'>  复制内容 <i class=\"fa fa-paste\"></i></span>");
			btn.prependTo($(this));
		});
	});
	function preCopy(obj) {
		//执行复制
		let btn = $(obj);
		let pre = btn.parent();
		//为了实现复制功能。新增一个临时的textarea节点。使用他来复制内容
		let temp = $("<textarea></textarea>");
		//避免复制内容时把按钮文字也复制进去。先临时置空
		btn.text("");
		temp.text(pre.text());
		temp.appendTo(pre);
		temp.select();
		document.execCommand("Copy");
		temp.remove();
		//修改按钮名
		btn.text("复制成功").css("color", "red").append(' <i class="fa fa-paste"></i>');
		layer.msg("复制成功",{time:500});
		//一定时间后吧按钮名改回来
		setTimeout(()=> {
			btn.text("复制内容").css("color", "").append(' <i class="fa fa-paste"></i>');
		},1500);
	}

	function d_fenxiang() {
		if ($('.d-fenxiang').is(':hidden')) {
			$('.d-fenxiang').show();
		} else {
			$('.d-fenxiang').hide();
		}
	}
	function d_shezhi() {
		if ($('.d-shezhi').is(':hidden')) {
			$('.d-shezhi').show();
		} else {
			$('.d-shezhi').hide();
		}
	}
	function d_weixin() {
		if ($('.d-weixin').is(':hidden')) {
			$('.d-weixin').show();
		} else {
			$('.d-weixin').hide();
		}
	}
	{if $shenhe ==1}
		{if $jiangli['cishu'] > 0 && $member}
			{if $jiangli['cishu']==1}
			{else}
			var Seconds = {$jiangli['miaoshu']};
			var setIntervalID;
			function jiangli() {
				var jiangli = $("#jiangli");
				if (Seconds <= 0) {
					$.ajax({
						type: "GET",
						url: "/index.php?s=member&app={MOD_DIR}&c=son&m=jiangli&quan={$id}",
						dataType: "json",
						success: function (res) {
							/*layer.msg(res.msg, {
								time: 500
							}, function() {
								location.reload();
							});*/
							$('#d-jiangli-zhi').html(res.data.zhi);
							$('#d-jiangli-zhi2').html(res.data.zhi);
							$('#d-jiangli-jingyan').html(res.data.jingyan);
							$('#d-jiangli-tian').html(res.data.tian);
							$('.d-jiangli-tanchu').show();
							setTimeout(function() {  
								$('.d-jiangli-tanchu').hide(); // 3秒后隐藏元素  
							}, 1000); // 延迟3000毫秒（3秒）
						},
						error: function(e) {}
					});
					clearInterval(setIntervalID);
				} else {
					// jiangli.html("请仔细阅读协议还剩下（" + Seconds + "）秒");
				}
				Seconds--;
			}
			setIntervalID=setInterval("jiangli()", 1000);
			function d_m_jiangli2() {
				$('.d-jiangli-tanchu').hide();
				//location.reload();
			}
			{/if}
		{/if}
	{/if}
	function d_bianji_shijian() {
		if ($('.d-bianji-shijian').is(':hidden')) {
			$('.d-bianji-shijian').show();
		} else {
			$('.d-bianji-shijian').hide();
		}
		
	}
function dr_m_pinglun() {
	$('.d-pinglun-tanchu').show();
	$('.kaiguan').show();
}
function dr_m_pinglun2() {
	$('.d-pinglun-tanchu').hide();
	$('.kaiguan').hide();
}
var viewer = new Viewer(document.getElementById('tuzhanshi'), {
  	//url: 'data-kujue',
	toolbar: false,//关闭工具栏
	title: false,//关闭标题栏
	backdrop: true, //点击遮罩层不关闭
	rotatable: false, //图片是否可旋转
	scalable: false, //图片是否可翻转
	tooltip: false, //显示缩放百分比
  });
{if $chuzukaiguan == 1}
var viewerzu = new Viewer(document.getElementById('tuzhanshizu'), {
  	//url: 'data-kujue',
	toolbar: false,//关闭工具栏
	title: false,//关闭标题栏
	backdrop: true, //点击遮罩层不关闭
	rotatable: false, //图片是否可旋转
	scalable: false, //图片是否可翻转
	tooltip: false, //显示缩放百分比
  });
{/if}
  // 进度
  $(".d-jindutiao").click(function(){
  		 var id = $(this).data("id");
  		 var quanid = $(this).data("quanid");
  		 $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=jindu&id="+id+"&quanid="+quanid, function(data){
  			 dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
  			 
  			 if (data.msg.value=="开启需求") {
  				
  				 $('#d_jindu_'+id).html('<i class="fa fa-hourglass-start"></i>'
  				);
  				window.location.reload();
  				 
  			}else{
  				
  				$('#d_jindu_'+id).html('<i class="fa fa-hourglass-o"></i>');
  				
  				window.location.reload();
  			}
  			
  		 }, 'json');
  });
  // bug
  $(".d-bugtiao").click(function(){
  		 var id = $(this).data("id");
  		 var quanid = $(this).data("quanid");
  		 $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=bug&id="+id+"&quanid="+quanid, function(data){
  			 dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
  			 
  			 if (data.msg.value=="开启修复") {
  				
  				 $('#d_bug_'+id).html('<i class="fa fa fa-check"></i>'
  				);
  				window.location.reload();
  				 
  			}else{
  				
  				$('#d_bug_'+id).html('<i class="fa fa fa-code"></i>');
  				
  				window.location.reload();
  			}
  			
  		 }, 'json');
  });
//<!--问答-->
  d_laheiuid();//拉黑用户
  d_laheitiezi();//拉黑帖子
  var Mpage=1;
  //滚动显示更多
  var scroll_get = true;  //做个标志,不要反反复复的加载
  $(document).ready(function () {
      $(window).scroll(function () {
          if (scroll_get==true &&  (400 + $(window).scrollTop())>($(document).height() - $(window).height())) {
              scroll_get = false;
              /*layer.msg('内容加截中,请稍候',{time:1000});*/
              dr_ajax_load_more();
          }
      });
  });
  function dr_ajax_load_more(){
      Mpage++;
      $.get('{SITE_URL}index.php?s=api&c=api&m=template&module={MOD_DIR}&tid={$idtid}&name=mform_show-wenda-list-daan.html&format=json&page='+Mpage+'&'+Math.random(),function(res){
          //$('.footer-cont').hide();
          if(res.code==1){
              if (res.msg.indexOf("</div>") != -1) {
                  $('#content_list').append(res.msg);
                  scroll_get = true;
              } else {
                  layer.msg("已经显示完了",{time:500});
              }
          }else{
              /*layer.msg(res.msg,{time:2500});*/
          }
      }, 'json');
  }
  // 拉黑用户
  function d_laheiuid(){
      $.get('{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheiuid&touid={$uid}',function(res){
          //$('.footer-cont').hide();
          if(res.code==1){
          }else if (res.code==2){
  			  //$("#laheizuozhe").attr("style", "color: red;");
  			  $(".laheiuid").attr("style", "color: red;");
  			  $(".laheiuidh5").attr("style", "color: red;");
          }else{
              //layer.msg("已经显示完了",{time:500});
          }
      }, 'json');
  }
  function d_laheiuidpost(){
  	  $.ajax({
  		  type: "POST",
  		  dataType: "json",
  		  url: "{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheiuid",
  		  data: 'touid={$uid}',
  		  success: function(data) {
  			  dr_cmf_tips(data.code, data.msg);
  		  },
  		  error: function(HttpRequest, ajaxOptions, thrownError) {
  			  layer.closeAll('loading');
  			  alert(HttpRequest.responseText);
  		  }
  	  })
  }
  // 拉黑帖子
  function d_laheitiezi(){
      $.get('{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheitiezi&tid={$id}',function(res){
          //$('.footer-cont').hide();
          if(res.code==1){
          }else if (res.code==2){
  			  //$("#laheizuozhe").attr("style", "color: red;");
  			  $(".laheitiezi").attr("style", "color: red;");
  
  			  $(".laheitiezih5").attr("style", "color: red;");
          }else{
              //layer.msg("已经显示完了",{time:500});
          }
      }, 'json');
  }
  function d_laheitiezipost(){
  	  $.ajax({
  		  type: "POST",
  		  dataType: "json",
  		  url: "{SITE_URL}index.php?s=member&app=quan&c=lahei&m=laheitiezi",
  		  data: 'tid={$id}',
  		  success: function(data) {
  			  dr_cmf_tips(data.code, data.msg);
  		  },
  		  error: function(HttpRequest, ajaxOptions, thrownError) {
  			  layer.closeAll('loading');
  			  alert(HttpRequest.responseText);
  		  }
  	  })
  }
  {if $wendakaiguan == 1}
  // 问答奖励积分
  $(".tag_wenda_jiangli_jifen").click(function(){
      var id = $(this).data("id");
  	  var uid = $(this).data("uid");
  	  var leixing = $(this).data("leixing");
      $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=wenda&m=jianglijifen&id="+id+"&uid="+uid+"&leixing="+leixing, function(data){
          dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
          if (data.msg.value=="操作成功") {
          	window.location.reload();
          }
      }, 'json');
  });
  {/if}
  {if $bisaikaiguan == 1}
  // 比赛奖励积分
  $(".tag_bisai_jiangli_jifen").click(function(){
      var id = $(this).data("id");
  	  var uid = $(this).data("uid");
  	  var leixing = $(this).data("leixing");
  	  var jiangli = $(this).data("jiangli");
  	  var mingci = $(this).data("mingci");
      $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=bisai&m=jianglijifen&id="+id+"&uid="+uid+"&leixing="+leixing+"&jiangli="+jiangli+"&mingci="+mingci, function(data){
          dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
          if (data.msg.value=="操作成功") {
          	window.location.reload();
          }
      }, 'json');
  });
  {/if}
  // 置顶
  		$(".tag_zhiding").click(function(){
  		    var id = $(this).data("id");
  		    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=zhiding&id="+id, function(data){
  		        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
  		        if (data.msg.value=="设置置顶成功") {
  					$('#module_favorite_'+id).html(data.data);
  		            $('#d_zhiding_'+id).html('<img src="{HOME_THEME_PATH}web/img/zhiding-quxiao.png" width="40" height="40" class=""><div>取消圈顶</div>'
  					);
  					
  				}else{
  					$('#module_favorite_'+id).html(data.data);
  		            $('#d_zhiding_'+id).html('<img src="{HOME_THEME_PATH}web/img/zhiding.png" width="40" height="40" class=""><div>设置圈顶</div>'
  		            );
  				}
  		    }, 'json');
  		});
  		// 首页置顶
  		$(".tag_shouyezhiding").click(function(){
  		    var id = $(this).data("id");
  		    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=shouyezhiding&id="+id, function(data){
  		        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
  		        if (data.msg.value=="设置置顶成功") {
  					
  		            $('#d_shouyezhiding_'+id).html('<img src="{HOME_THEME_PATH}web/img/zhiding-shouye-quxiao.png" width="40" height="40" class=""><div>取消推荐</div>'
  					);
  					
  				}else{
  					
  		            $('#d_shouyezhiding_'+id).html('<img src="{HOME_THEME_PATH}web/img/zhiding-shouye.png" width="40" height="40" class=""><div>首页推荐</div>'
  		            );
  				}
  		    }, 'json');
  		});
  		// 审核
  		$(".tag_shenhe").click(function(){
  		    var id = $(this).data("id");
  		    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=shenhe&id="+id, function(data){
  		        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
  		        if (data.msg.value=="设置审核成功") {
  					
  		            $('#d_shenhe_'+id).html('<img src="{HOME_THEME_PATH}web/img/shenhe.png" width="40" height="40" class=""><div>已经审核</div>'
  					);
  					
  				}else{
  					
  		            $('#d_shenhe_'+id).html('<img src="{HOME_THEME_PATH}web/img/shenhezhong.png" width="40" height="40" class=""><div>审核帖子</div>'
  		            );
  				}
  		    }, 'json');
  		});
		// 精华
		$(".tag_jinghua").click(function(){
		    var id = $(this).data("id");
		    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=jinghua&id="+id, function(data){
		        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
		        if (data.msg.value=="设置精华成功") {
					$('#module_favorite_'+id).html(data.data);
		            $('#d_jinghua_'+id).html('<img src="{HOME_THEME_PATH}web/img/jinghua-quxiao.png" width="40" height="40" class=""><div>取消精华</div>'
					);
					
				}else{
					$('#module_favorite_'+id).html(data.data);
		            $('#d_jinghua_'+id).html('<img src="{HOME_THEME_PATH}web/img/jinghua.png" width="40" height="40" class=""><div>精华帖子</div>'
		            );
				}
		    }, 'json');
		});
		// 全站置顶
		$(".tag_qzzd").click(function(){
		    var id = $(this).data("id");
		    $.get("{dr_url_prefix('index.php')}?s={MOD_DIR}&c=son&m=qzzd&id="+id, function(data){
		        dr_cmf_tips(data.code, data.msg.value + data.msg.jifen);
		        if (data.msg.value=="设置全置成功") {
					$('#module_favorite_'+id).html(data.data);
		            $('#d_qzzd_'+id).html('<img src="{HOME_THEME_PATH}web/img/quanzhi.png" width="40" height="40" class=""><div>取消全置</div>'
					);
					
				}else{
					$('#module_favorite_'+id).html(data.data);
		            $('#d_qzzd_'+id).html('<img src="{HOME_THEME_PATH}web/img/quanzhi01.png" width="40" height="40" class=""><div>设置全置</div>'
		            );
				}
		    }, 'json');
		});
</script>
<style>
	.d-xiala-shezhi {
	    z-index: 999999;
	    position: fixed;
	    bottom: 0px;
	    width: 100%;
	    height: 40%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(255, 255, 255, 1.0);
	}
	.d-xiala-fenxiang {
	    z-index: 999999;
	    position: fixed;
	    bottom: 0px;
	    width: 100%;
	    height: 40%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(255, 255, 255, 1.0);
	}
	.d-xiala-weixin {
	    z-index: 999999;
	    position: fixed;
	    top: 0px;
	    width: 100%;
	    height: 60%;
	    overflow: auto;
	    background: #ffffff;
	    right: 0;
	    left: 0;
	    box-shadow: 0 0 20px #d6d6d6;
	    background-color: rgba(54, 54, 54, 0.9);
	}
	.pager li>a, .pager li>span {
	    display: inline-block;
	    padding: 5px 14px;
	    background-color: #fff;
	    border: 1px solid #fff;
	    border-radius: 15px;
	}
	.d-bisai-beijing {
	    background-color: #eaeaea;
		top:300px;
		border-radius: 10px !important;
	    /*height: 300px;*/
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		
		/*background-image:url('{HOME_THEME_PATH}web/img/manyidanan.png');*/
	}
	.d-bisai-gao {
		height: 20px;
	}
	.d_zhongbiao_queren {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		right: 0;
		height: 100%;
		overflow: auto;
		background: #444444;
		background-color: rgba(143, 143, 143, 0.9);
	}
	.d-daan-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}web/img/manyidanan.png');
	}
	.d-jiangli-tanchu {
		z-index: 999999;
		position: fixed;
		bottom: 0px;
		width: 100%;
		height: 100%;
		overflow: auto;
		/*background: #444444;
		background-color: rgba(143, 143, 143, 0.9);*/
	}
	.d-jiangli-kuan {
	    /* background-color: #eaeaea; */
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 15% auto 0 auto;
	    z-index: 99999;
	}
	.d-jiangli-beijing {
	    /* background-color: #eaeaea; */
		top:300px;
		
	    height: 300px;
		width: 300px;
	    /* width: 100%; */
	    text-align: center;
	    /*position: fixed;*/
	    margin: 0 auto;
	    z-index: 99999;
		background-image:url('{HOME_THEME_PATH}jiangli/jianglitu.png');
	}
	.d-jiangli-gao {
		height: 120px;
	}
	.d-jiangli-zhi {
		font-size: 25px;
		color: #ff5202;
	}
	@media screen and (max-width: 990px) {
		.d-jiangli-kuan {
		    /* background-color: #eaeaea; */
		    height: 300px;
			width: 300px;
		    /* width: 100%; */
		    text-align: center;
		    /*position: fixed;*/
		    margin: 60% auto 0 auto;
		    z-index: 99999;
		}
		
	}
	.d-henggun {
	
	    max-width: 100%;
	    overflow-x: hidden;
	    overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	tbody p {
	    margin: 5px 0;
	}
.d-pinglun-tanchu {
	display: block;

}
.kaiguan {
	display: none;
}
@media screen and (max-width: 700px) { /*当屏幕尺寸小于1200px时，应用下面的CSS样式*/
	body {
        height: 100%;
        background-color: #ffffff;
    }
	.d-henggun {
		max-width: 400px;
		overflow-x: scroll;
		overflow-y: hidden;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}
	.d-henggun::-webkit-scrollbar {
	    width: 4px;
	    height: 1px;
	}
	.d-henggun::-webkit-scrollbar-track {
			-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0);
			border-radius: 0;
			background-color: #ffffff;
		}
	.d-henggun::-webkit-scrollbar-track {
		-webkit-box-shadow: inset 0 0 5px rgba(255, 255, 255, 0.2);
		border-radius: 0;
		background-color: #ffffff;
	}
	.d-pinglun-tanchu {
		background-color: #f3f4f7;
		position: fixed;
		height: 100%;
		width: 100%;
		overflow: auto;
		display: none;
		z-index: 2000;
		bottom: 0px;
	}
}
table {  
    width: 100%;  
	border-collapse: collapse;  
	border: 1px solid #ebebeb;  
	border-radius: 10; /* 设置表格的圆角 */  
	overflow: hidden; /* 防止圆角被内容溢出所遮盖 */  
	margin-bottom:10px;
	margin-top:10px;
	display:table;
  }  
  th, td {  
    padding: 8px;  
    text-align: left; 
	border: 1px solid #ebebeb;
  } 
/*br{
        display: none;
		line-height: 0.5;
    }*/
	.d-neirong pre{
		position: relative;
		background-color: #f5f5f5;
		border: 1px solid #fdfdfd;
		border-radius: 10px;
		padding: 30px 10px 10px 10px;
		white-space: pre-wrap; 
		overflow-wrap: break-word;
	}
	pre .btn-pre-copy{
		-webkit-user-select: none;
		-moz-user-select: none;
		-ms-user-select: none;
		-khtml-user-select: none;
		user-select: none;
		position: absolute;
		top: 10px;
		right: 12px;
		font-size: 12px;
		line-height: 1;
		cursor: pointer;
		color: hsla(0,0%,54.9%,.8);
		transition: color .1s;
	}
	textarea{
		width: 100%;
	}

</style>
{template "fanhui.html"}